package cn.loioi.test.model;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * (c) Copyright 2016 by
 *
 * @author :yyzh
 * @description : 百度地图定位对应的地址model
 * @package :cn.loioi.test.model
 * @创建时间 :2016/4/3 16:18
 */
@Table(name = "address")
public class AddressModel implements Serializable {
    @Column(name = "id", isId = true)
    private int id;

    @Column(name = "coor_type")
    private String coorType;

    @Column(name = "latitude")
    private Double latitude;// 维度

    @Column(name = "longitude")
    private Double longitude;// 经度

    @Column(name = "country")
    private String country;// 国家

    @Column(name = "country_code")
    private String countryCode;// 国家代码

    @Column(name = "province")
    private String province;// 省份

    @Column(name = "city")
    private String city;// 市级

    @Column(name = "city_code")
    private String cityCode;// 城市代码

    @Column(name = "district")
    private String district;// 县级

    @Column(name = "street")
    private String street;// 街道

    @Column(name = "street_number")
    private String streetNumber;// 街道编号

    @Column(name = "address")
    private String address;// 地址

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCoorType() {
        return coorType;
    }

    public void setCoorType(String coorType) {
        this.coorType = coorType;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getStreetNumber() {
        return streetNumber;
    }

    public void setStreetNumber(String streetNumber) {
        this.streetNumber = streetNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
